package demo.jackson;

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.databind.annotation.JsonTypeIdResolver;

import demo.jackson.impl.Payload100;
import demo.jackson.impl.Payload200;

/**
 *
 */
// @JsonTypeInfo(
//     use = JsonTypeInfo.Id.NAME,
//     include = JsonTypeInfo.As.PROPERTY,
//     property = "type"
// )
// @JsonSubTypes(
//     value = {
//         @JsonSubTypes.Type(value = Payload100.class, name = "Payload100"),
//         @JsonSubTypes.Type(value = Payload200.class, name = "Payload200")
//     }
// )
public interface JacksonInterface {


}
